/**
 * 设备管理
 *
 * **/
import React,{Component} from 'react';
import {connect} from 'dva';
import {Tabs} from 'antd';
import Area from './sub/Area';
import Device from './sub/Device';
import './stationRule.less'
const TabPane = Tabs.TabPane;
const extraBtn = [
  {
    name:'厂信息',
    icon:'',
    iconStyle:{},
    funName:'click'
  }
];

class StationRule extends Component{

  render(){
    return(
      <div className="xnw-tabs xnw-stationRule">
        <Tabs defaultActiveKey="1" >
          <TabPane tab="区域管理" key="1">
            <Area/>
          </TabPane>
          <TabPane tab="设备管理" key="2">
            <Device/>
          </TabPane>
        </Tabs>
      </div>
    )
  }
}

function mapStateToProps(state) {
  return{

  }
}

export default connect(mapStateToProps)(StationRule)


